package com.ruoyi.order.station.request.instance;

import com.github.s7connector.api.annotation.S7Variable;
import com.github.s7connector.impl.utils.S7Type;
import lombok.Data;

@Data
public class OP03Data {
    //壳体清洗结果
    @S7Variable(byteOffset = 0, bitOffset = 0, type = S7Type.WORD)
    public Integer glueHousingResult;
    //主控板清洗结果
    @S7Variable(byteOffset = 2, bitOffset = 0, type = S7Type.WORD)
    public Integer glueControllerResult;
    //三相盖板清洗结果
    @S7Variable(byteOffset = 4, bitOffset = 0, type = S7Type.WORD)
    public Integer gluePhaseResult;
    //低压线束盖板清洗结果
    @S7Variable(byteOffset = 6, bitOffset = 0, type = S7Type.WORD)
    public Integer glueWireResult;
    //母线盖板清洗结果
    @S7Variable(byteOffset = 8, bitOffset = 0, type = S7Type.WORD)
    public Integer glueBusbarResult;

    //胶水批次码
    @S7Variable(byteOffset = 30, arraySize = 80, type = S7Type.BYTE)
    public byte[] glueBatchNo;

}
